
#ifndef _MEMBER_BCheckBox_H_
#define _MEMBER_BCheckBox_H_

#include <BSize>
#include <BIcon>
#include <BCheckBox>

namespace BWE
{
	class member_BCheckBox
	{
	public:
		member_BCheckBox(BCheckBox* checkBox);
		~member_BCheckBox();

		void freshRects();

		BCheckBox*		boss;
		Align			align;
		bool			checked;
		BIconHolder		icon;
		BSize			iconSize;
		BString			text;
		int				space;

		bool			dirty;
		BString			t_text;
		BSize			textSize;
		BRect			iconRect;
		BRect			textRect;
		State			state;
		bool			hoverImage;
	};
}

#endif